#ifndef _BOARD_H_
#define _BOARD_H_

#include <SFML/Graphics.hpp>
#include <array>

#include "Panel.hpp"

class TowerPanel;
class Tower;


class Board : public Panel
{
public:
    Board(sf::RenderWindow* window, const TowerPanel* towerPanel);
    ~Board();

    void render();
    void handleEvents(const sf::Event&);

private:
    const TowerPanel* towerPanel_;
    std::array<Tower*, 11 * 13> towerGrid_;
};


#endif /* _BOARD_H_ */
